Skip to content

Add biomejs.dev feature#101

Merged
sebst merged 3 commits intomainfrom
copilot/add-biomejs-dev-feature
Mar 18, 2026
Merged

Add biomejs.dev feature#101
sebst merged 3 commits intomainfrom
copilot/add-biomejs-dev-feature

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

Adds a devcontainer feature to install the Biome toolchain binary from GitHub releases.

Key implementation details

  • Custom release tag parsing: Biome tags releases as cli/vX.Y.Z (not the typical vX.Y.Z), so github_list_releases and github_get_tag_for_version are adapted to match and strip the cli/v prefix
  • Direct binary download: Unlike most features that extract from a tarball/zip, Biome ships standalone executables — uses a curl_download_binary helper instead of curl_download_untar/curl_download_unzip
  • Architecture mapping: amd64→x64, arm64→arm64; no armhf/i386 (Biome doesn't publish those)
  • CI: biomejs.dev added to both test-autogenerated and test-scenarios matrices in test.yaml

Files added

  • src/biomejs.dev/devcontainer-feature.json
  • src/biomejs.dev/install.sh
  • test/biomejs.dev/test.sh

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/biomejs/biome/releases/latest
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add biomejs.dev feature</issue_title>
<issue_description>Files:

src/biomejs.dev/devcontainer-feature.json
src/biomejs.dev/install.sh (make sure to set executable bit)
test/biomejs.dev/test.sh
.github/workflows/test.yaml

Releases:

https://github.com/biomejs/biome/releases</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Copilot AI changed the title [WIP] Add biomejs.dev feature Add biomejs.dev feature Mar 18, 2026
Copilot AI requested a review from sebst March 18, 2026 12:28
@sebst
Copy link
Member

sebst commented Mar 18, 2026

tests are failing

@sebst sebst marked this pull request as ready for review March 18, 2026 14:28
Copy link
Member

@sebst sebst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests are failing

…/biome@X.Y.Z)

Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 18, 2026

tests are failing

Fixed in a538903. The root cause was that Biome changed its GitHub release tag format from cli/v1.x.x (v1) to @biomejs/biome@2.x.x (v2) — the current latest release is v2.4.8 with tag @biomejs/biome@2.4.8. The install script was only matching the old cli/v prefix, finding no releases, and failing. Updated the regex patterns in github_list_releases and github_get_tag_for_version to handle both formats.

tests are failing
...

Fixed in a538903. Biome's release tag format changed from cli/v1.x.x to @biomejs/biome@2.x.x for v2 (currently v2.4.8). Updated github_list_releases and github_get_tag_for_version to match both formats using ^(cli/v|@biomejs/biome@)[0-9]+\.[0-9]+\.[0-9]+$.

Copilot AI requested a review from sebst March 18, 2026 14:41
@sebst sebst merged commit 95a8b59 into main Mar 18, 2026
132 of 133 checks passed
@sebst sebst deleted the copilot/add-biomejs-dev-feature branch March 18, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add biomejs.dev feature

2 participants